#ifndef HANDWRITINGFRAME_H
#define HANDWRITINGFRAME_H

#include <QFrame>
#include <QPushButton>

namespace Ui {
    class HandWritingFrame;
}

class HandWritingFramePrivate;

class HandWritingFrame : public QFrame
{
    Q_OBJECT

    friend class HandWritingFramePrivate;

public:
    explicit HandWritingFrame(QWidget *parent = 0);
    ~HandWritingFrame();

    QPushButton *changeToType() const;

signals:
    void sendMessage(const QVariant &message);

protected:
    void changeEvent(QEvent *e);

private:
    Ui::HandWritingFrame * const ui;
    HandWritingFramePrivate * const d;
};

#endif // HANDWRITINGFRAME_H
